<template>
  <div>
    <!-- 轮播组件 -->
    <el-carousel height="460px">
      <el-carousel-item v-for="item in carList" :key="item.carousel_id">
        <img :src="$target + item.imgPath" :alt="item.describes" />
      </el-carousel-item>
    </el-carousel>
  </div>
</template>
<script>
export default {
  props: ["carList"],
  name: "CarouselMap",
  data() {
    return {};
  },
  mounted() {},
};
</script>
<style lang="scss" scoped>
img {
  width: 100%;
  height: 100%;
}
</style>
